﻿@using TinyMoocSite.ViewModels
@model CourseBaseViewModel

@{
    Layout = "~/Views/Shared/DefaultLayout.cshtml";
}

@section FullContainer
{
    <div class="col-sm-12">
        <h2>@Model.Title</h2>
        <p>
            <!-- <span class="glyphicon glyphicon-user" aria-hidden="true"></span> @Model.FullName &nbsp;&nbsp; -->
            <span class="glyphicon glyphicon-time" aria-hidden="true"></span> @Model.StartDate --- @Model.EndDate
        </p>
    </div>

    <div class="col-sm-3">
        <div class="list-group">
            <a href="/Student/Overview?Id=@Model.Id" class="list-group-item @RenderSection("Overview", false)">课程概要</a>
            <a href="/Student/Resource?Id=@Model.Id" class="list-group-item @RenderSection("Resource", false)">课件资源</a>
            <a href="/Student/AttachedPage?Id=@Model.Id" class="list-group-item @RenderSection("AttachedPage", false)">附加页</a>
            <a href="/Student/Discuss?Id=@Model.Id" class="list-group-item  @RenderSection("Discuss", false)">答疑平台</a>
            <a href="/Student/Homework?Id=@Model.Id" class="list-group-item @RenderSection("Homework", false)">作业系统</a>
        </div>
    </div>

    <div class="col-sm-9">
        @RenderSection("RightContainer")
    </div>
}

@section ExtensionStyle
{
    @RenderSection("ExtensionStyle", false)
}

@section ExtensionScript
{
    @RenderSection("ExtensionScript", false)
}


